package com.bjpowernode.common;

public class P2PKey {

    /**
     * redis key的定义如下
     */
    //注册用户总数
    public static final String P2P_REGISTER_USER_COUNT="REGISTER:USER:COUNT";
    //累计成交金额
    public static final Object P2P_BID_MONEY_SUM = "BID:MONEY:SUM";

    //历史年化收益率
    public static final Object P2P_HISTORY_AVG_RATE = "HISTORY:AVG:RATE";

    //手机短信验证码（key应该是=REGISTER_SMS_CODE+phone）
    public static final String REGISTER_SMS_CODE = "REGISTER:SMS:CODE:";


    //投资排行榜
    public static final Object BID_TOP_LIST = "BID:TOP:LIST";

    //调用阿里支付宝，商家生成的订单号
    public static final String ALIPAY_OUTTRADE_NO ="ALIPAY:OUT:TRADE";

    //支付宝下单，订单号，存到redis
    public static final String ALIPAY_PAGE_PAY_NO ="ALIPAY:PAGE:PAY:NO" ;
}
